package week03.Start;

public class IceCream extends DrinkDecorator {
    private double price=2;
    public IceCream(IDrink iDrink) {
        super(iDrink);
    }

    @Override
    public double getPrice() {
        System.out.println("Ice-Cream: "+price);
        iDrink.getPrice();
        return price;
    }//
}
